<!DOCTYPE html>
<html lang="en">
<head>
<title>ToughRADIUS Wlan Portal</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="/portal/default/static/icons/favicon.ico"/>
<link rel="stylesheet" type="text/css" href="/portal/default/static/vendor/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/portal/default/static/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="/portal/default/static/fonts/Linearicons-Free-v1.0.0/icon-font.min.css">
<link rel="stylesheet" type="text/css" href="/portal/default/static/vendor/animate/animate.css">
<link rel="stylesheet" type="text/css" href="/portal/default/static/vendor/css-hamburgers/hamburgers.min.css">
<link rel="stylesheet" type="text/css" href="/portal/default/static/vendor/animsition/css/animsition.min.css">
<link rel="stylesheet" type="text/css" href="/portal/default/static/vendor/select2/select2.min.css">
<link rel="stylesheet" type="text/css" href="/portal/default/static/vendor/daterangepicker/daterangepicker.css">
<link rel="stylesheet" type="text/css" href="/portal/default/static/css/util.css">
<link rel="stylesheet" type="text/css" href="/portal/default/static/css/main.css">
</head>
<body>

<div class="limiter">
    <div class="container-login100">
        <div class="wrap-login100 p-t-90 p-b-30">
            <#if code?? && code == "ok">
            <form id="wlanForm" class="login100-form validate-form" method="get">
					<span class="login100-form-title p-b-40">
						认证成功
					</span>
                <div>
                    <a href="${param.wlanuserfirsturl!}" class="btn-login-with bg-green m-b-10" >
                        继续浏览网络
                    </a>
                    <a href="/wlan/disconnect" class="btn-login-with bg-red m-b-10">
                        断开网络
                    </a>
                </div>
            </form>
            <#elseif code?? && code == "fail">
                <form id="wlanForm" class="login100-form validate-form" method="get">
					<span class="login100-form-message p-b-40">
						认证失败 ${message!}
					</span>
                    <div>
                        <a href="/wlan/disconnect" class="btn-login-with bg-red m-b-10">
                            返回
                        </a>
                    </div>
                </form>
            </#if>
        </div>
    </div>
</div>

<script src="/portal/default/static/vendor/jquery/jquery-3.2.1.min.js"></script>
<script src="/portal/default/static/vendor/animsition/js/animsition.min.js"></script>
<script src="/portal/default/static/vendor/bootstrap/js/popper.js"></script>
<script src="/portal/default/static/vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="/portal/default/static/vendor/select2/select2.min.js"></script>
<script src="/portal/default/static/vendor/daterangepicker/moment.min.js"></script>
<script src="/portal/default/static/vendor/daterangepicker/daterangepicker.js"></script>
<script src="/portal/default/static/vendor/countdowntime/countdowntime.js"></script>
<script src="/portal/default/static/js/main.js"></script>
</body>
</html>